package com.zhoujian.FactoryMethod.resourceFactory.impl;

import com.zhoujian.FactoryMathod2.product.impl.ClasspathReasource;
import com.zhoujian.FactoryMethod.resourceFactory.IResourceLoader;

public class ClasspathResourceLoader implements IResourceLoader {

    @Override
    public ClasspathReasource load(String url) {
        //中间省略复杂创建代码
        return new ClasspathReasource(url);
    }
}
